import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/reason_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class ReasonEntity{
  late String dictType;
  late String value;
  late String label;
  late String colorType;
  late String locationName;
  late String cssClass;

  ReasonEntity();

  Map<String, dynamic> toJson() => $ReasonEntityToJson(this);

  factory ReasonEntity.fromJson(Map<String, dynamic> json) => $ReasonEntityFromJson(json);

  @override
  String toString() => label;

}
